// DCom.h: interface for the DCom class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DCOM_H__F1E32322_A071_457E_AC6C_11AAB0EAB379__INCLUDED_)
#define AFX_DCOM_H__F1E32322_A071_457E_AC6C_11AAB0EAB379__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Activcard_i.c"
#include "Activcard.h"
class DCom  
{
public:
	int DComReadIp(CString &strIpList);
	int DComGetAuthPort();
	int DComGetAcctPort();
	int DComAuthTest(CString strUser,CString strPwd);
	DCom();
	bool DComInit();
	int  DComClose();
	virtual ~DCom();
private:
	HRESULT m_hr;
	IUnknown * m_pUnknown;
	IAuthentication * m_pAuthenTication;
};

#endif // !defined(AFX_DCOM_H__F1E32322_A071_457E_AC6C_11AAB0EAB379__INCLUDED_)
